{% extends "amdy_base.html" %}
{% load static %}
{% comment %} 额外引用的css文件 {% endcomment %}
{% block extcss %}
{% endblock extcss %}
{% comment %} 标题 {% endcomment %}
{% block title %}
    {{block.super}}
{% endblock title %}
{% comment %} 菜单栏 {% endcomment %}
{% block topbar %}
    {% comment %} {% include "amdy_model.html" with model_type="topbar" name=user.nickname avatarSrc=user.icon %} {% endcomment %}
{% endblock topbar %}

{% block drawer %}
    {{block.super}}
{% endblock drawer %}

{% block mainlay %}
<div class="box_container">
    <a href='' >
        {% comment %} {% url "Graph:tree" %} {% endcomment %}
        <div class="box">

            <mdui-icon name='mediation'  class="topbarIcon"></mdui-icon>
            <div class="title">单题测试</div>
            <div class="message">以单题的形式进行刷题</div>
        </div>
    </a>
    <a href='{% url "exam:exam_paper" %}' >
        <div class="box">
            <mdui-icon name='hub'  class="topbarIcon"></mdui-icon>
            <div class="title">组题测试</div>
            <div class="message">以试卷的形式进行刷题</div>
        </div>
    </a>
</div>
{% endblock mainlay %}

{% block extjs %}
<script>
    tippy('mdui-icon', {
        content: '我是小图标',
    });
</script>
{% endblock extjs %}